package models

import "time"

type VideoRecord struct {
	ID                  int64     `gorm:"primarykey"`
	StoryboardId        int64     `gorm:"column:storyboard_id;comment:故事板ID"`
	StoryboardSectionId int64     `gorm:"column:storyboard_section_id;comment:故事板段落ID;index:storyboard_section_id"`
	Status              int       `gorm:"column:status;comment:状态;default:101"`
	Uri                 string    `gorm:"column:uri;comment:生产视频链接地址"`
	Description         string    `gorm:"column:description;comment:描述信息"`
	DurationMillisecond int64     `gorm:"column:duration_millisecond;comment:视频文件时长 单位ms"`
	CreatedAt           time.Time `gorm:"autoCreateTime"`
	UpdatedAt           time.Time `gorm:"autoUpdateTime"`
}
